package cn.jiyun.entity.day11;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author sjt
 * @Date 2023/9/1 14:58
 * @PackageName: cn.jiyun.entity.day11.UserTestPaperOver
 */
@TableName("user_testpaper_over")
@Data
public class UserTestPaperOver {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private Integer pid;
    private Integer sumFen;
    private String takeTime;
    private String okTopic;
    private String noTopic;
    private String situation;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date overDate;
    private String pname;
}
